{$header}
<div id="hd">
    <div id="hd_inner_box">
    
        <h1><a href="{$G_URL}">Coupongru</a></h1>
        <!--
        <div id="top_menu">
             <a href="#none" class="login">LOGIN</a>
             <a href="#none">API</a>
             <a href="#none" class="favorite">FAVORITE</a>     
        </div><!--#top_menu--
        -->
    </div><!--#hd_inner_box-->
    
    <div id="ment">
        <p><span class="icon"></span></p>
    </div>
    
</div><!--#hd-->


<div id="bd">
    <div id="search_wrap">
        <p>원하는 상품을 검색해보세요.</p>
        <input type="text" name="search" id="search" class="search rd5" value="" />
        <div id="shorter" class="rd5"><a href="#none" id="btnSearch">쿠폰검색</a></div>
        <div id="loading"></div>
        <div class="cb"></div>
    </div><!--#search_wrap-->
    
</div><!--#bd-->


{literal}
<script type="text/javascript" src="inc/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="inc/js/common.js"></script>
<script type="text/javascript">
var index = {
	init:function(){	  
		$('#search').keydown(function(e){
			if(e.keyCode==13)index._search($(this).val());
		});
		$('#btnSearch').click(function(){
			index._search($('#search').val());
		});
		$('#ment').hide();	   
	},_search:function(v){
		window.location.href = 'find?name='+v;
	}
}
$(document).ready(function() {	
	index.init();	
});//ready
</script>
{/literal}

{$footer}